package cn.gov.nanhai.commonssys.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ${董荣盛}
 * @创建时间 2021/4/18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "plan_accessory")
@ApiModel(value="创建计划对象")
public class PlanAccessory {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键编号")
    private Long planAccessoryId;

    @ApiModelProperty(value = "附件地址URl")
    private String accessorySite;


    @Override
    public String toString() {
        return "PlanAccessory{" +
                "PlanAccessoryId=" + planAccessoryId +
                ", AccessorySite='" + accessorySite + '\'' +
                '}';
    }
}
